package com.sylli.oeuf.server.db;

import com.sylli.oeuf.server.object.transferable.BasedTO;

public interface DatabaseCache<T extends BasedTO> {
	
	public void addItemToCache(T obj);
	
	public T getItemFromCache(long id);
	
	public void removeItemFromCache(long id);
	
	public boolean isAlreadyInCache(long id);
	
}
